//
//  GGCalendarView.m
//  ggtool
//
//  Created by engfei on 2017/4/27.
//  Copyright © 2017年 GaiGai. All rights reserved.
//

#import "GGCalendarView.h"

@implementation GGCalendarView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        [self setInitlize];
    }
    return self;
}

- (instancetype)init {
    if (self = [super init]) {
        [self setInitlize];
    }
    return self;
}


- (void)setInitlize {
    
    self.logicView = [[GGCalendarLogicView alloc] init];
    self.logicView.frame = self.bounds;
    self.logicView.gg_height = kCalendarRowHeight * 6;
    [self addSubview:self.logicView];
    
    
}


@end
